package com.wit.po;

import java.util.HashSet;
import java.util.Set;

/**
 * Insurancedef entity. @author MyEclipse Persistence Tools
 */

public class Insurancedef implements java.io.Serializable {

	// Fields

	private Integer insuranceId;
	private Insurancetype insurancetype;
	private Subcompany subcompany;
	private String branchId;
	private String insuranceNumMark;
	private Double discountrate;
	private Double agencyrate;
	private Double commrate;
	private String specificalagree;
	private Set projects = new HashSet(0);
	private Set policies = new HashSet(0);

	// Constructors

	/** default constructor */
	public Insurancedef() {
	}

	/** full constructor */
	public Insurancedef(Insurancetype insurancetype, Subcompany subcompany,
			String branchId, String insuranceNumMark, Double discountrate,
			Double agencyrate, Double commrate, String specificalagree,
			Set projects, Set policies) {
		this.insurancetype = insurancetype;
		this.subcompany = subcompany;
		this.branchId = branchId;
		this.insuranceNumMark = insuranceNumMark;
		this.discountrate = discountrate;
		this.agencyrate = agencyrate;
		this.commrate = commrate;
		this.specificalagree = specificalagree;
		this.projects = projects;
		this.policies = policies;
	}

	// Property accessors

	public Integer getInsuranceId() {
		return this.insuranceId;
	}

	public void setInsuranceId(Integer insuranceId) {
		this.insuranceId = insuranceId;
	}

	public Insurancetype getInsurancetype() {
		return this.insurancetype;
	}

	public void setInsurancetype(Insurancetype insurancetype) {
		this.insurancetype = insurancetype;
	}

	public Subcompany getSubcompany() {
		return this.subcompany;
	}

	public void setSubcompany(Subcompany subcompany) {
		this.subcompany = subcompany;
	}

	public String getBranchId() {
		return this.branchId;
	}

	public void setBranchId(String branchId) {
		this.branchId = branchId;
	}

	public String getInsuranceNumMark() {
		return this.insuranceNumMark;
	}

	public void setInsuranceNumMark(String insuranceNumMark) {
		this.insuranceNumMark = insuranceNumMark;
	}

	public Double getDiscountrate() {
		return this.discountrate;
	}

	public void setDiscountrate(Double discountrate) {
		this.discountrate = discountrate;
	}

	public Double getAgencyrate() {
		return this.agencyrate;
	}

	public void setAgencyrate(Double agencyrate) {
		this.agencyrate = agencyrate;
	}

	public Double getCommrate() {
		return this.commrate;
	}

	public void setCommrate(Double commrate) {
		this.commrate = commrate;
	}

	public String getSpecificalagree() {
		return this.specificalagree;
	}

	public void setSpecificalagree(String specificalagree) {
		this.specificalagree = specificalagree;
	}

	public Set getProjects() {
		return this.projects;
	}

	public void setProjects(Set projects) {
		this.projects = projects;
	}

	public Set getPolicies() {
		return this.policies;
	}

	public void setPolicies(Set policies) {
		this.policies = policies;
	}

}